<?php
namespace App\Http\Controllers\Page\Zghpt;

use App\GameZghpt;
use App\Http\Controllers\Controller;
use Carbon\Carbon;

class HbController extends Controller 
{
	public function page()
	{
		$user = auth()->user();
		$gameZghpt = $user->game_zghpt;
		if ( !$gameZghpt ) {
			$gameZghpt = new GameZghpt();
            $gameZghpt->user_id = $user->id;
            $gameZghpt->quota = 0;
            $gameZghpt->level = 0;
            $gameZghpt->save();
		}

        return response()->view('layouts.message', ['message'=>'系统升级中，敬请期待'], 200);
//        return view('zghpt.index');
	}
}